package edu.fzu.shop.bean;

import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Category;


public class CategoryBean extends ValueObject {
	/*
	ctg_id int primary key,
    ctg_name varchar2(20) not null,
    ctg_parent_id int not null,
    constraint UK_CTG_ID_NAME UNIQUE(ctg_name,ctg_parent_id),
    constraint FK_PARENT foreign key (ctg_parent) references t_category(ctg_id)
	 */

	
	private Integer ctgId;
	private String ctgName;
	private Integer ctgParent;
	private  List<CategoryBean> ctgChildsList;
	public Integer getCtgId() {
		return ctgId;
	}
	public void setCtgId(Integer ctgId) {
		this.ctgId = ctgId;
	}
	public String getCtgName() {
		return ctgName;
	}
	public void setCtgName(String ctgName) {
		this.ctgName = ctgName;
	}
	public Integer getCtgParent() {
		return ctgParent;
	}
	public void setCtgParent(Integer ctgParent) {
		this.ctgParent = ctgParent;
	}
	public List<CategoryBean> getCtgChildsList() {
		return ctgChildsList;
	}
	public void setCtgChildsList(List<CategoryBean> ctgChildsList) {
		this.ctgChildsList = ctgChildsList;
	}



}
